package com.fsnbigdata.service.api;

import com.fsnbigdata.domain.ZhEcologyNav;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 旅游导航
 */
public interface ZhEcologyNavService {
    List<ZhEcologyNav> findAll();       //查询所有

    ZhEcologyNav save(ZhEcologyNav zhEcologyNav);       //新增

    ZhEcologyNav findById(Long id);     //根据id查询单个

    ZhEcologyNav update(ZhEcologyNav zhEcologyNav);     //修改

    Integer deleteOne(Long id);        //删除一个

    Integer deleteMany(String ids);   //删除多个

    Page<ZhEcologyNav> pageList(String city, String type, String condition, String creator,Pageable pageable);

    List<String> findAllCity();

    Long[] countType(String city);

    List<ZhEcologyNav> queryByAlphabet(String s);
}
